package com.saxon.shiro.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class MyAsync {
    @Async ()
    public void Asyn () {
        try {

            Thread.sleep (5000);
            System.out.println ("方法结束");
        } catch (InterruptedException e) {


        }
    }
}
